<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>实训三 设计简易灯箱画廊</title>
    <style type="text/css">
        body{
            text-align: left;
        }
        .div1{
            width: 900px;
            height: 500px;
            margin: 0px auto;
            text-align: center;
            background-color: #33cc99;
        }
        ul {
            list-style-type: none;
            margin: 0 auto;
            width: 800px;
            height: 120px;
        }

        li {
            float: left;
            width: 110px;
            height: 90px;
            margin: 5px;
        }
        img{
            border: 0;
            width: 100px;
            height: 80px;
        }
        h3{
            font-size: 24px;
            color: white;
            padding: 10px auto;
        }
        a{
            color: #ffffff;
            text-decoration: none;
        }
        a:link,a:visited,a:active{
            color: #0033cc;
        }
        a:hover{
            border-bottom: 4px solid #ff0000;
        }
    </style>
</head>

<body>
    <!-- 实现背景音乐 使用embed无法设置自动播放，由于协议问题 -->
    <audio controls="controls" autoplay="autoplay" id="music1" preload id="music1" hidden >
        <source src="../img/trees/Sleep Away.mp3" type="audio/ogg"/>
    </audio>

    <div class="div1" id="">
        <ul>
            <li><a href="../img/trees/t1.jpg" target="iframe">
                    T1<br><img src="../img/trees/t1.jpg" alt=""></a></li>
            <li><a href="../img/trees/t2.jpg" target="iframe">
                    T2<br><img src="../img/trees/t2.jpg" alt=""></a></li>
            <li><a href="../img/trees/t3.jpg" target="iframe">
                    T3<br><img src="../img/trees/t3.jpg" alt=""></a></li>
            <li><a href="../img/trees/t4.jpg" target="iframe">
                    T4 <br><img src="../img/trees/t4.jpg" alt=""></a></li>
            <li><a href="../img/trees/t5.jpg" target="iframe">
                    T5 <br><img src="../img/trees/t5.jpg" alt=""></a></li>
            <li><a href="../img/trees/t6.jpg" target="iframe">
                    T6 <br><img src="../img/trees/t6.jpg" alt=""></a></li>
        </ul>
        <iframe src="../img/trees/t1.jpg" frameborder="0" name="iframe" width="500px" height="300px"></iframe>
    </div>
</body>

</html>